package com.wyj.email.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * TODO: EmailBO
 *
 * @author wuyijie
 * @date 2022/2/9 23:25
 */
@Data
@ApiModel(value = "EmailBO",description = "邮件服务参数")
public class EmailBO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主题")
    private String subject;
    @ApiModelProperty(value = "发件人地址")
    private String fromAddress;
    @ApiModelProperty(value = "收件人地址")
    private String toAddress;
    @ApiModelProperty(value = "时间")
    private LocalDateTime date;
    @ApiModelProperty(value = "正文")
    private String content;

}
